<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of PHPClass
 *
 * @author Mark
 */
class CheckClass {

function IsNull($value){
    if($value==NULL){ return true;}
  else{ return false;}
   }

   function notCost($value){
    if($value == '[0-9]+' .'[.]*' .'[0-9]*'){ return false;}
  else{ return true;}
   }

function notNumber($value){
    if($value == '[0-9]'){ return false;}
  else{ return true;}
   }

function notString($value){
    if($value =='[a-z]+' or $value =='[A-Z]+'){ return false;}
  else{ return true;}
   }

function loginSuccess($value){
    if($value == 1){ return true;}
  else{ return false;}
   }

}
?>
